]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
messageTray.js: add collapsed signal on Notification
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 27 May 2011 09:08:32 +0000 (11:08 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Wed, 29 Jun 2011 07:44:47 +0000 (09:44 +0200)
js/ui/messageTray.js

index 6014b4bb172173e69d1a4dba3c0448ff4ee674b2..383a68a5ac83703e10cb6a8ceda110790221e3e2 100644 (file)
@@ -829,6 +829,7 @@ Notification.prototype = {
         // Restore banner opacity in case the notification is shown in the
         // banner mode again on update.
         this._bannerLabel.opacity = 255;
+        this.emit('collapsed');
     },
 
     _onActionInvoked: function(actor, mouseButtonClicked, id) {